package theTVDB.com.event
{
	import com.adobe.cairngorm.control.CairngormEvent;
	
	import flash.events.Event;
	
	public class GetDefaultEpisodeEvent extends CairngormEvent 
	{
		public static const EVENT_NAME : String = "GET_DEFAULT_EPISODE";
		
		public var seriesID:String;
		public var season:int;
		public var episode:int;
		public var callback:Function;
		
		public function GetDefaultEpisodeEvent( bubbles : Boolean = false, cancelable : Boolean = false )
		{
			super( EVENT_NAME, bubbles, cancelable );
		}
		
		public override function clone() : Event
		{
			var event:GetDefaultEpisodeEvent = new GetDefaultEpisodeEvent( bubbles, cancelable );
			event.seriesID = seriesID;
			event.season = season;
			event.episode = episode;
			event.callback = callback;
			return event;
		}
	}
}
